package cn.imvc.data.domain;

import java.util.HashMap;
import java.util.LinkedHashMap;
import java.util.Map;

public class ViewRequest {
	private int page;
	private int size;
	private LinkedHashMap<String, String> sort;
	private Map<String, String> params;

	public ViewRequest() {
		page = 0;
		size = 20;
		sort = new LinkedHashMap<String, String>();
		params = new HashMap<String, String>();
	}

	public int getPage() {
		return page;
	}

	public void setPage(int page) {
		this.page = page;
	}

	public int getSize() {
		return size;
	}

	public void setSize(int size) {
		this.size = size;
	}

	public LinkedHashMap<String, String> getSort() {
		return sort;
	}

	public void setSort(LinkedHashMap<String, String> sort) {
		this.sort = sort;
	}

	public Map<String, String> getParams() {
		return params;
	}

	public void setParams(Map<String, String> params) {
		this.params = params;
	}

}
